package com.cqupt.qualityevaluation.controller;

import com.cqupt.qualityevaluation.dao.wekaMapper;
import com.cqupt.qualityevaluation.pojo.weka;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/weka")
public class wekaController {
    @Autowired
    private wekaMapper wekaMapper;
    @GetMapping("/findAll")
    public List<weka> findAll(){
        return wekaMapper.selectList(null);
    }
}
